<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./assets/bootstrap/css/bootstrap.min.css">
    <script src="./assets/js/jquery.js"></script>
    <script src="./assets/bootstrap/js/bootstrap.min.js"></script>
    <style>
        html,
        body {
            height: 100%;
            overflow: hidden;
        }

        .layout {
            height: 100%;
            margin-top: 50px;
        }

        .layout .row {
            height: 100%;
        }

        .layout .navbar-left {
            height: 100%;
            padding-top: 20px;
            border-right: 1px solid #DDD;
            background-color: #333;
        }
        .layout .navbar-left a{
            color: #DDD;
        }

        .nav>li>a:focus, .nav>li>a:hover{
            color:#333;
        }

        .layout .main {
            padding-top: 20px ;
        }

    </style>
</head>

<body>

    <nav class="navbar navbar-inverse navbar-fixed-top">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">管理中心</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li><a href="./pages/product-add.html" target="frame">发布商品 <span class="sr-only">(current)</span></a></li>
                    <li><a href="./pages/posts-add.html" target="frame">发布文章</a></li>
                    <li><a href="./pages/product-list.html" target="frame">商品管理 <span class="sr-only">(current)</span></a></li>
                    <li><a href="./pages/posts-list.html" target="frame">文章管理</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="./login.html">安全退出</a></li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </nav>


    <div class="container-fluid layout">
        <div class="row">
            <div class="col-lg-2 col-md-2 hidden-sm hidden-xs navbar-left">
                <!-- 左侧导航 -->
                <ul class="nav nav-pills nav-stacked">
                    <li role="presentation">
                        <a href="./pages/product-list.html" target="frame">商品管理</a>
                    </li>
                    <li role="presentation">
                        <a href="./pages/product-add.html" target="frame">发布商品</a>
                    </li>
                    <li role="presentation">
                        <a href="./pages/posts-list.html" target="frame">文章管理</a>
                    </li>
                    <li role="presentation">
                        <a href="./pages/posts-add.html" target="frame">发布文章</a>
                    </li>
                </ul>
            </div>
            <div class="col-lg-10 col-md-10  col-sm-12 col-xs-12  main">

                <iframe name="frame" src="./pages/product-add.html" frameborder="0" style="width: 101%;height:540px"></iframe>

            </div>
        </div>
    </div>
</body>

</html>